<div id='find_tour' style="margin-top:15px;">

<form action="tours.php" method=post>
<table border=0>
<tr>
	<td colspan=2 bgcolor=#74CCE5><div style="margin:4px;"><font color=#FFFFFF><b>Check availability:</b></font></div></td>
</tr>
	<tr>
	<td align=right>{t}Route{/t}:</td>
		<td>
			<select name=rout style="font-size:10px;">
				<option value='all'>&nbsp;{t}All{/t}&nbsp;
				{foreach from=$routList item=r}
					<option value='{$r.id}' {if $r.id==$routChosen}selected{/if}>{$r.name}
				{/foreach}
			</select>
		</td>
	</tr>
	<tr>
		<td align=right>
			{t}Year{/t}:
		</td>
		<td>
			<select name=year>
				<option value='all'>&nbsp;{t}All{/t}&nbsp;
				{foreach from=$years item=y}
					<option value='{$y}' {if $year==$y}selected{/if}>&nbsp;{$y}&nbsp;
				{/foreach}
			</select>
			&nbsp;{t}Month{/t}:
			<select name=month>
				<option value='all'>&nbsp;{t}All{/t}&nbsp;
				<option value='1'  {if $month=='1'}selected{/if}>&nbsp;{t}January{/t}&nbsp;
				<option value='2'  {if $month=='2'}selected{/if}>&nbsp;{t}February{/t}&nbsp;
				<option value='3'  {if $month=='3'}selected{/if}>&nbsp;{t}March{/t}&nbsp;
				<option value='4'  {if $month=='4'}selected{/if}>&nbsp;{t}April{/t}&nbsp;
				<option value='5'  {if $month=='5'}selected{/if}>&nbsp;{t}May{/t}&nbsp;
				<option value='6'  {if $month=='6'}selected{/if}>&nbsp;{t}June{/t}&nbsp;
				<option value='7'  {if $month=='7'}selected{/if}>&nbsp;{t}July{/t}&nbsp;
				<option value='8'  {if $month=='8'}selected{/if}>&nbsp;{t}August{/t}&nbsp;
				<option value='9'  {if $month=='9'}selected{/if}>&nbsp;{t}September{/t}&nbsp;
				<option value='10' {if $month=='10'}selected{/if}>&nbsp;{t}October{/t}&nbsp;
				<option value='11' {if $month=='11'}selected{/if}>&nbsp;{t}November{/t}&nbsp;
				<option value='12' {if $month=='12'}selected{/if}>&nbsp;{t}December{/t}&nbsp;
			</select>
		</td>
	</tr>
	<tr>
		<td align=right>
			{t}Persons{/t}:
		</td>
		<td>
			<input type=text name=persons size=4 value='{$persons}' />
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td>
			<input type=submit value='&nbsp;&nbsp;{t}Search{/t}&nbsp;&nbsp;' />
		</td>
	</tr>
</table>
</form>
</div>
